<template>
  <div class="logo_container">
    <div class="appbtn">
      <div class="close" @click="changeShowApp">×</div>
      <div class="logo">
        <img src="./images/cktlogo.jpg" alt="" />
      </div>
      <div class="btn">APP内打开</div>
    </div>
    <Search />
  </div>
</template>

<script>
import Search from "./Search.vue";
export default {
  name: "",
  props: [],
  data() {
    return {};
  },
  created() {},
  methods: {
    changeShowApp() {
      this.$emit("changeShowAppOrSearch");
    },
  },
  components: {
    Search,
  },
};
</script>

<style lang="less" scoped>
.appbtn {
  position: relative;
  width: 100%;
  height: 58px;
  background: #0773fc;
  border: 1px solid transparent;
  .close {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 23px;
    color: #fff;
  }
  .logo {
    height: 48px;
    width: 170px;
    margin: 7px 0 0 42px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .btn {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 112px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    color: #0773fc;
    background: #fff;
    -webkit-box-shadow: 0 0.21333rem 0.32rem 0 rgb(0 0 0 / 5%);
    box-shadow: 0 0.21333rem 0.32rem 0 rgb(0 0 0 / 5%);
    border-radius: 56px;
    text-align: center;
  }
}
</style>